package com.jzfai.entity;
import java.io.Serializable;
import java.util.Date;
import java.math.BigInteger;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created on 2019-08-13.
 *
 * @author jzfai
 */
@ApiModel(value="用户表",description="Admin")
public class Admin implements Serializable {

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private Integer id;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String status;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private Date addTime;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String isSuper;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String username;

	@ApiModelProperty(value ="onComment",example="col comment fail",required =false,hidden = false)
	private String password;

	@ApiModelProperty(value ="是否删除",example="col comment fail",required =false,hidden = false)
	private String isDelete;

	@ApiModelProperty(value ="手机号",example="col comment fail",required =false,hidden = false)
	private BigInteger mobile;

	@ApiModelProperty(value ="邮箱",example="col comment fail",required =false,hidden = false)
	private String email;

	@ApiModelProperty(value ="角色id",example="col comment fail",required =false,hidden = false)
	private Integer roleId;

	@ApiModelProperty(value ="pageNum",example="1",required =false,hidden = false)
	private Integer pageNum;

	@ApiModelProperty(value ="pageSize",example="10",required =false,hidden = false)
	private Integer pageSize;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getIsSuper() {
		return isSuper;
	}

	public void setIsSuper(String isSuper) {
		this.isSuper = isSuper;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public BigInteger getMobile() {
		return mobile;
	}

	public void setMobile(BigInteger mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public Admin(){
	}
	public Admin(Integer id,String status,Date addTime,String isSuper,String username,String password,String isDelete,BigInteger mobile,String email,Integer roleId,Integer pageNum,Integer pageSize){
		this.id = id;

		this.status = status;

		this.addTime = addTime;

		this.isSuper = isSuper;

		this.username = username;

		this.password = password;

		this.isDelete = isDelete;

		this.mobile = mobile;

		this.email = email;

		this.roleId = roleId;

		this.pageNum = pageNum;

		this.pageSize = pageSize;
	}
	public String toString() {
	  return "Admin{"+

		" , id="+id+'\n'+

		" , status="+status+'\n'+

		" , addTime="+addTime+'\n'+

		" , isSuper="+isSuper+'\n'+

		" , username="+username+'\n'+

		" , password="+password+'\n'+

		" , isDelete="+isDelete+'\n'+

		" , mobile="+mobile+'\n'+

		" , email="+email+'\n'+

		" , roleId="+roleId+'\n'+

		" , pageSize="+pageSize+'\n'+

		" , pageNum="+pageNum+'\n'+
	  '}';
	}
}
